package com.retailcloud.baseservice;

import org.mybatis.spring.annotation.MapperScan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableDiscoveryClient
@SpringBootApplication
@MapperScan(basePackages = {"com.retailcloud.baseservice.dao","com.retailcloud.commonutils.dao"})
@ComponentScan(basePackages = { "com.retailcloud.commonutils","com.retailcloud.baseservice"})
@EnableFeignClients(basePackages = "com.retailcloud.baseservice.feign")
public class RetailcloudBaseServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(RetailcloudBaseServiceApplication.class, args);
    }

}
